package com.zwps.biz.api.model.dto.strsvrr;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "水情清空")
public class StRsvrRDTO implements Serializable {
    @Schema(description = "时间")
    private Date tm;
    @Schema(description = "测站编码"  ,required = true)
    private String stcd;
    @Schema(description = "开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private Date startTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    @Schema(description = "结束时间")
    private Date endTime;
    @Schema(description = "展示类型 选项【1:实时，2:整点，3:八小时】")
    private String showTime;
    @Schema(description = "数据类型 选项【0:设备检查，1:人工监测，")
    private String mode;
}
